<?php
/**
 * Created by PhpStorm.
 * User: 郝飞
 * Date: 2017/3/17
 * Time: 9:54
 */
namespace Payment\Model;
use Common\Model\BaseModel;

class PaymentHistory extends BaseModel{
	/*自动验证*/
	protected $_validate = array(
		array('uid','require','用户id不能为空',self::MUST_VALIDATE),
		array('Classification_id','require','申请类别id不能为空',self::MUST_VALIDATE),
		array('money','require','金额不能为空',self::MUST_VALIDATE),
	);
	/*自动完成*/
	protected $_auto = array(
		array('addtime','time',3),
	);
}